package com.huizhan.web.model;

import javax.persistence.*;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.*;
import io.swagger.annotations.*;
import java.util.Date;

/**
 * @Description 联系人邀约 
 * @Author  yanluping@outlook.com
 * @Date 2020-07-20 10:25:08 
 */
@JsonIgnoreProperties({"hibernateLazyInitializer","handler"})
@Entity
@ApiModel(value =  "联系人邀约")
@Table ( name ="Contact_Invite")
public class ContactInvite  implements Serializable {

	private static final long serialVersionUID =  5742830366261124165L;

	/**
	 * 记录ID
	 */
	@ApiModelProperty(value = "记录ID")
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
   	@Column(name = "Contact_Invite_Id" )
	private Long contactInviteId;

	/**
	 * 联系人名单
	 */
	@ApiModelProperty(value = "联系人名单")
   	@Column(name = "Contact_Id" )
	private Long contactId;

	/**
	 * 邀约ID
	 */
	@ApiModelProperty(value = "邀约ID")
   	@Column(name = "Invite_Id" )
	private Long inviteId;

	/**
	 * 模板名称/邮件主题
	 */
	@ApiModelProperty(value = "模板名称/邮件主题")
   	@Column(name = "Title" )
	private String title;

	/**
	 * 项目ID
	 */
	@ApiModelProperty(value = "项目ID")
   	@Column(name = "Project_Id" )
	private String projectId;

	/**
	 * 姓名
	 */
	@ApiModelProperty(value = "姓名")
   	@Column(name = "Name" )
	private String name;

	/**
	 * 手机
	 */
	@ApiModelProperty(value = "手机")
   	@Column(name = "Phone" )
	private String phone;

	/**
	 * 邮箱
	 */
	@ApiModelProperty(value = "邮箱")
   	@Column(name = "Email" )
	private String email;

	/**
	 * 内容
	 */
	@ApiModelProperty(value = "内容")
   	@Column(name = "Content" )
	private String content;

	/**
	 * 创建日期
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@ApiModelProperty(value = "创建日期",example = "2018-10-01 12:18:48")
   	@Column(name = "CreateDate" )
	private Date createDate;

	public String getProjectId() {
		return this.projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId = projectId;
	}

	public Long getContactInviteId() {
		return this.contactInviteId;
	}

	public void setContactInviteId(Long contactInviteId) {
		this.contactInviteId = contactInviteId;
	}

	public Long getContactId() {
		return this.contactId;
	}

	public void setContactId(Long contactId) {
		this.contactId = contactId;
	}

	public Long getInviteId() {
		return this.inviteId;
	}

	public void setInviteId(Long inviteId) {
		this.inviteId = inviteId;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@Override
	public String toString() {
		return "{" +
					"contactInviteId='" + contactInviteId + '\'' +
					"projectId='" + projectId + '\'' +
					"contactId='" + contactId + '\'' +
					"inviteId='" + inviteId + '\'' +
					"title='" + title + '\'' +
					"name='" + name + '\'' +
					"phone='" + phone + '\'' +
					"email='" + email + '\'' +
					"content='" + content + '\'' +
					"createDate='" + createDate + '\'' +
				'}';
	}

}
